package com.wudl.config;

import java.io.Serializable;

/**
 * @ClassName : GlobalConfig
 * @Description : 常量类
 * @Author :wudl
 * @Date: 2020-10-29 22:44
 */

public class GlobalConfig  implements Serializable {
    /**
     * 数据库driver class
     */
    public static final String DRIVER_CLASS = "com.mysql.jdbc.Driver";
    /**
     * 数据库jdbc url
     */
    public static final String DB_URL = "jdbc:mysql://192.168.1.162:3306/test?useUnicode=true&characterEncoding=utf8";
    /**
     * 数据库user name
     */
    public static final String USER_MAME = "canal";
    /**
     * 数据库password
     */
    public static final String PASSWORD = "123456";
    /**
     * 批量提交size
     */
    public static final int BATCH_SIZE = 2;


    /**
     * Hbase 的相关配置
     */
    public static final String HBASE_ZOOKEEPER_QUORUM = "node01.com,node02.com,node03.com";
    public static final String HBASE_ZOOKEEPER_PROPERTY_CLIENTPORT = "2181";
    public static final String ZOOKEEPER_ZNODE_PARENT = "/hbase-unsecure";




}
